package com.study.webapp.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.study.webapp.po.Word;
import com.study.webapp.po.WordExample;

public interface WordMapper {
	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	int countByExample(WordExample example);

	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	int deleteByExample(WordExample example);

	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	int deleteByPrimaryKey(Long id);

	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	int insert(Word record);

	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	int insertSelective(Word record);

	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	List<Word> selectByExample(WordExample example);

	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	Word selectByPrimaryKey(Long id);

	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	int updateByExampleSelective(@Param("record") Word record, @Param("example") WordExample example);

	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	int updateByExample(@Param("record") Word record, @Param("example") WordExample example);

	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	int updateByPrimaryKeySelective(Word record);

	/**
	 *
	 * @mbggenerated 2018-12-07
	 */
	int updateByPrimaryKey(Word record);
}